full transcript
From the Ted Talk by Alex Rosenthal: The Artists | Think Like A Coder, Ep 5
Unscramble the Blue Letters
Painting the outermost one is easy. Start in a corner and paint that pixel. If we call the length of the painting n, fly forward n minus 1 spaces. Paint another pixel, and turn right. Now do the whole thing again… and again. Now move forward one less scape, turn right, fly forward once, and Hedge will be in the next cictornenc square and ready to repeat the whole process. Each square is n minus 2 pixels smaller than the last in letngh and wdtih, and we can follow this spiral paettrn all the way to the center with a loop and a vaibrale that tracks how far Hedge should fly.
Open Cloze
Painting the outermost one is easy. Start in a corner and paint that pixel. If we call the length of the painting n, fly forward n minus 1 spaces. Paint another pixel, and turn right. Now do the whole thing again… and again. Now move forward one less _____, turn right, fly forward once, and Hedge will be in the next __________ square and ready to repeat the whole process. Each square is n minus 2 pixels smaller than the last in ______ and _____, and we can follow this spiral _______ all the way to the center with a loop and a ________ that tracks how far Hedge should fly.
Solution
- variable
- pattern
- length
- concentric
- space
- width
Original Text
Painting the outermost one is easy. Start in a corner and paint that pixel. If we call the length of the painting n, fly forward n minus 1 spaces. Paint another pixel, and turn right. Now do the whole thing again… and again. Now move forward one less space, turn right, fly forward once, and Hedge will be in the next concentric square and ready to repeat the whole process. Each square is n minus 2 pixels smaller than the last in length and width, and we can follow this spiral pattern all the way to the center with a loop and a variable that tracks how far Hedge should fly.
Frequently Occurring Word Combinations
ngrams of length 2
collocation |
frequency |
pixels skipped |
3 |
square grid |
2 |
Important Words
- call
- center
- concentric
- corner
- easy
- fly
- follow
- hedge
- length
- loop
- move
- outermost
- paint
- painting
- pattern
- pixel
- pixels
- process
- ready
- repeat
- smaller
- space
- spaces
- spiral
- square
- start
- tracks
- turn
- variable
- width